home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ddddggggllllooooppppeeeennnn((((3333GGGG)))) ddddggggllllooooppppeeeennnn((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- ddddggggllllooooppppeeeennnn - opens a Graphics Library connection to a graphics server
-
- CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- lllloooonnnngggg ddddggggllllooooppppeeeennnn((((ssssvvvvnnnnaaaammmmeeee,,,, ttttyyyyppppeeee))))
- SSSSttttrrrriiiinnnngggg ssssvvvvnnnnaaaammmmeeee;;;;
- lllloooonnnngggg ttttyyyyppppeeee;;;;
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _s_v_n_a_m_e expects a pointer to the name of the graphics server to which
- you want to open a connection.
-
- For a successful connection, the client host must have
- permission to connect to the graphics server. Authentication is
- accomplished via the same mechanisms as for X clients. See
- xhost(1) for further details.
-
- The _s_v_n_a_m_e parameter has the following syntax:
-
- [[_u_s_e_r_n_a_m_e ]_p_a_s_s_w_o_r_d@]_h_o_s_t_n_a_m_e[:_s_e_r_v_e_r[._s_c_r_e_e_n]]
-
- where _h_o_s_t_n_a_m_e is an internet host name recognized by
- gethostname(3N). _s_e_r_v_e_r and _s_c_r_e_e_n are ignored, and both are
- set to 0.
-
- For DECnet connections, if the server account has a password,
- this password must be specified by including _u_s_e_r_n_a_m_e and
- _p_a_s_s_w_o_r_d. This password is used only for opening the DECnet
- connection; the local and remote accounts must still be
- equivalent in the _r_l_o_g_i_n sense.
-
- _t_y_p_e expects a symbolic constant that specifies the kind of
- connection. There are three defined constants for this
- parameter:
-
- DDDDGGGGLLLLLLLLOOOOCCCCAAAALLLL indicates a direct connection to the local graphics
- hardware. This type of connection is not supported on client
- machines without IRIS graphics hardware.
-
- DDDDGGGGLLLLTTTTSSSSOOOOCCCCKKKKEEEETTTT indicates a remote connection via TCP/IP.
-
- DDDDGGGGLLLL4444DDDDDDDDNNNN indicates a remote connection via DECnet.
-
- FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- If the connection succeeds, the returned value of the function is a non-
- negative integer, _s_e_r_v_e_r_i_d, that identifies the graphics server. If the
- connection failed, the returned value for the function is a negative
- integer. The absolute value of a negative returned value is either a
- standard error value (defined in <_e_r_r_n_o._h>) or one of several error
- returns associated specifically with ddddggggllllooooppppeeeennnn:
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ddddggggllllooooppppeeeennnn((((3333GGGG)))) ddddggggllllooooppppeeeennnn((((3333GGGG))))
-
-
-
- EEEENNNNOOOODDDDEEEEVVVV _t_y_p_e is not a valid connection type.
-
- EEEEAAAACCCCCCCCEEEESSSS login incorrect or permission denied.
-
- EEEEMMMMFFFFIIIILLLLEEEE too many graphics connections are currently open.
-
- EEEENNNNOOOOPPPPRRRROOOOTTTTOOOOOOOOPPPPTTTT DGL service not found in ////eeeettttcccc////sssseeeerrrrvvvviiiicccceeeessss.
-
- EEEERRRRAAAANNNNGGGGEEEE invalid or unrecognizable number representation.
-
- EEEEPPPPRRRROOOOTTTTOOOONNNNOOOOSSSSUUUUPPPPPPPPOOOORRRRTTTT
- DGL version mismatch.
-
- EEEESSSSRRRRCCCCHHHH the window manager is not running on the server.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- ddddggggllllooooppppeeeennnn opens a Graphics Library connection to a graphics server
- (_s_v_n_a_m_e). After a connection is open, all graphics preferences, input,
- and output are directed to that connection. This direction is continued
- until either the connection is closed, another connection is opened, or a
- different connection is selected. A different connection can be selected
- by calling a subroutine that takes a graphics window identifier as an
- input parameter, e.g. wwwwiiiinnnnsssseeeetttt. The server connection associated with that
- graphics window identifier becomes the current connection. To close a
- connection, call ddddggggllllcccclllloooosssseeee with the server identifier returned by ddddggggllllooooppppeeeennnn.
-
- If a remote server error occurs, the graphics application may exit with a
- status value EIO and produce the following error message:
-
- dgl error (comm): read returned 0
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- dglclose, finish, gflush, winopen, winset, scrnselect
-
- rlogin(1C), gethostbyname(3N) in the _I_R_I_S-_4_D _U_s_e_r'_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l
-
- NNNNOOOOTTTTEEEESSSS
- This routine is available only in immediate mode.
-
- This routine is available in both the GL and DGL libraries. However, the
- DDDDGGGGLLLLLLLLOOOOCCCCAAAALLLL connection type is not supported by the DGL library.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-